package DBLayer;

import java.util.ArrayList;

import org.junit.After;
import org.junit.BeforeClass;
import org.junit.Test;

import ModelLayer.Gun;

public class DBGunTest {
	DBGun db= new DBGun();
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testCreateSupplier() {
	try{
		//db.createSupplier();
		//db.deleteSupplier(2);
		//db.updateGun();
		/*ArrayList<Gun> list = new ArrayList<Gun>();	
		list =db.miscWhere();
		for(Gun g : list)
		{
			int g1 =g.getgID();
			System.out.println(g1);}
		*/
		/*
		Gun gObj=db.findGun(2);
		String s=gObj.getCaliber();
		System.out.println(s);
		}*/
	}
	catch(Exception e)
	{e.printStackTrace();}
	}

}
